package com.ruoyi.life.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 公寓退租记录对象 omp_fe_apartment_cancel
 *
 * @author cjie
 * @date 2022-09-20
 */
@Data
@ApiModel
public class FeApartmentCancel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id")
    private String id;

    /** 企业id */
    @Excel(name = "企业id")
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;

    private String enterpriseName;

    /** 退租日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退租日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "退租日期")
    private Date endTime;

    /** 租赁模式 */
    @Excel(name = "租赁模式")
    @ApiModelProperty(value = "租赁模式")
    private String leaseMode;

    /** 合同总面积 */
    @Excel(name = "合同总面积")
    @ApiModelProperty(value = "合同总面积")
    private Long contractArea;

    /** 账单总计 */
    @Excel(name = "账单总计")
    @ApiModelProperty(value = "账单总计")
    private BigDecimal total;

    /** 租金总计 */
    @Excel(name = "租金总计")
    @ApiModelProperty(value = "租金总计")
    private BigDecimal rentalTotal;

    /** 物业费总计 */
    @Excel(name = "物业费总计")
    @ApiModelProperty(value = "物业费总计")
    private BigDecimal propertyTotal;

    /** 水电气费用 */
    @Excel(name = "水电气费用")
    @ApiModelProperty(value = "水电气费用")
    private BigDecimal electricFee;

    /** 设施赔偿费 */
    @Excel(name = "设施赔偿费")
    @ApiModelProperty(value = "设施赔偿费")
    private BigDecimal facilityNoun;

    /** 保证金总计 */
    @Excel(name = "保证金总计")
    @ApiModelProperty(value = "保证金总计")
    private BigDecimal marginTotal;

    /** 经办人 */
    @Excel(name = "经办人")
    @ApiModelProperty(value = "经办人")
    private String approval;

    private String remark;

    /** 公寓退租详情信息 */
    private List<FeApartmentCancelDetailGroup> feApartmentCancelDetailGroupList;

    private List<FeApartmentCancelDetail> feApartmentCancelDetailList;
}
